<%@ page language="java" pageEncoding="utf8"%>
<jsp:include page="/head.jsp" />
<script type="text/javascript">
	dojo.require("dijit.Dialog");
    dojo.require("dijit.form.SimpleTextarea");
    dojo.require("dijit.form.DateTextBox");
    
    function hideUploadWindow() {
    	dijit.byId("uploadImgDlg").hide();
    };
	function showUploadWindow(){
		dijit.byId("uploadImgDlg").show();
	};
	function showNewCategoryWindow(){
		dijit.byId("addCatelogDlg").show();
	};
</script>
<script type="text/javascript">
   	dojo.addOnLoad(function(){
 //  		MovieSession.movieId = 1;
  //		MovieSession.askForMovieBriefInfo();
   	});
</script>

<div class="maincontent">
	<div class="HackBox"></div>
	<div id="breadcrumb">
		&nbsp;
		<a href="index.jsp">主页</a>&nbsp;&gt;&nbsp;
		<a href="movieManage.jsp">放映厅管理</a>&nbsp;&gt;&nbsp;添加放映厅
	</div>

	<div class="maincontentin">
		<div class="addBook_div">
			<span class="addBook_bar"> <span class="left"></span> <span
				class="addMovie_icon">&nbsp;添加放映厅&nbsp;</span>(带星号的为必填内容) </span>
			<form id="addMovieForm" name="addMovieForm" action="addHall.do" method="post" >
				<table class="addBookTable">
					<tr>
						<td colspan="2">
							<table class="onboardInfo">
								<tr>
									<td class="label" style="width:13%"><span style="color:red">*</span>放映厅名称： 
									</td>
									<td style="width:30%">
										<input dojoType="dijit.form.ValidationTextBox" id="hallName"
											name='hallName' required="true" invalidMessage="请输入放映厅名称" />
									</td>
									<td style="padding-left:40px">请输入放映厅名称</td>
								</tr>
								<tr>
									<td class="label"><span style="color:red">*</span>座位个数：
									</td>
									<td>
										<input dojoType="dijit.form.ValidationTextBox" id="hallSeats"
											name='hallSeats' required="true" invalidMessage="请输入放映厅的座位个数" />
									</td>
									<td style="padding-left:40px">请输入放映厅的座位个数</td>
								</tr>
								<tr>
									<td colspan="4">
										<div class="addBookTitle">
											放映厅简介
										</div>
										<div style="margin: 10px; width: 90%;">
											<textarea id="hallDesc" name="hallDesc"
												dojoType="dijit.form.SimpleTextarea" rows=4
												style="width: 100%;"></textarea>
										</div>
									</td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td colspan="2">
							<div class="buttonbar">
								<div class="btngroup">
									<span class="blue-btn"> <span class="inputbtn"> <span
											class="l"></span> <input type="submit" value='保存'></input> </span> </span>
									<span class="blue-btn"> <span class="inputbtn"> <span
											class="l"></span> <input type="submit" value='保存继续添加'></input>
									</span> </span>
									<span class="blue-btn"> <span class="inputbtn"> <span
											class="l"></span> <input type="reset" value='重新填写' onclick="reset();"></input> </span> </span>
								</div>
							</div>
						</td>
					</tr>
				</table>
			</form>

		</div>


	</div>
</div>

<!-- main content -->


<jsp:include page="footer.jsp" />